package cn.yedong.user.service;

import cn.yedong.basic.dto.LoginDto;
import cn.yedong.basic.util.AjaxResult;
import cn.yedong.user.domain.Logininfo;
import cn.yedong.basic.service.IBaseService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yedong
 * @since 2023-02-07
 */
public interface ILogininfoService extends IBaseService<Logininfo> {

    //账号登陆：前后台共用
    Map<String, Object> loginAccount(LoginDto loginDto);
    //微信登陆
    AjaxResult loginWechat(Map<String, String> map);
    //绑定微信登陆
    AjaxResult wechatBinder(Map<String, String> map);
}
